package mylist;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);//0
        myArrayList.add(2);//1
        myArrayList.add(3);//2
        myArrayList.add(1,199);
        myArrayList.display();
        myArrayList.set(2,88888);
        myArrayList.display();
        myArrayList.remove(199);
        myArrayList.display();

    }
}
